﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="PsychologicalStateTrackerDataSet" targetNamespace="http://tempuri.org/PsychologicalStateTrackerDataSet.xsd" xmlns:mstns="http://tempuri.org/PsychologicalStateTrackerDataSet.xsd" xmlns="http://tempuri.org/PsychologicalStateTrackerDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="PsychologicalStateTrackerConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="PsychologicalStateTrackerConnectionString1 (MySettings)" PropertyReference="ApplicationSettings.PsychologicalMoodTracker.My.MySettings.GlobalReference.Default.PsychologicalStateTrackerConnectionString1" Provider="System.Data.OleDb" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblNotesTableAdapter" GeneratorDataComponentClassName="tblNotesTableAdapter" Name="tblNotes" UserDataComponentName="tblNotesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PsychologicalStateTrackerConnectionString1 (MySettings)" DbObjectName="tblNotes" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `tblNotes` (`fldDate`, `fldTime`, `fldThoughts`, `fldEmotions`, `fldPhysicalConsequences`, `fldScore`) VALUES (?, ?, ?, ?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="fldDate" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="fldDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="fldTime" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="fldTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="fldThoughts" Precision="0" ProviderType="LongVarWChar" Scale="0" Size="0" SourceColumn="fldThoughts" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="fldEmotions" Precision="0" ProviderType="LongVarWChar" Scale="0" Size="0" SourceColumn="fldEmotions" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="fldPhysicalConsequences" Precision="0" ProviderType="LongVarWChar" Scale="0" Size="0" SourceColumn="fldPhysicalConsequences" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="fldScore" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="fldScore" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT fldDate, fldTime, fldThoughts, fldEmotions, fldPhysicalConsequences, fldScore FROM tblNotes</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="fldDate" DataSetColumn="fldDate" />
              <Mapping SourceColumn="fldTime" DataSetColumn="fldTime" />
              <Mapping SourceColumn="fldThoughts" DataSetColumn="fldThoughts" />
              <Mapping SourceColumn="fldEmotions" DataSetColumn="fldEmotions" />
              <Mapping SourceColumn="fldPhysicalConsequences" DataSetColumn="fldPhysicalConsequences" />
              <Mapping SourceColumn="fldScore" DataSetColumn="fldScore" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="PsychologicalStateTrackerDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="PsychologicalStateTrackerDataSet" msprop:Generator_UserDSName="PsychologicalStateTrackerDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="tblNotes" msprop:Generator_TableClassName="tblNotesDataTable" msprop:Generator_TableVarName="tabletblNotes" msprop:Generator_TablePropName="tblNotes" msprop:Generator_RowDeletingName="tblNotesRowDeleting" msprop:Generator_UserTableName="tblNotes" msprop:Generator_RowChangingName="tblNotesRowChanging" msprop:Generator_RowEvHandlerName="tblNotesRowChangeEventHandler" msprop:Generator_RowDeletedName="tblNotesRowDeleted" msprop:Generator_RowEvArgName="tblNotesRowChangeEvent" msprop:Generator_RowChangedName="tblNotesRowChanged" msprop:Generator_RowClassName="tblNotesRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="fldDate" msprop:Generator_ColumnVarNameInTable="columnfldDate" msprop:Generator_ColumnPropNameInRow="fldDate" msprop:Generator_ColumnPropNameInTable="fldDateColumn" msprop:Generator_UserColumnName="fldDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fldTime" msprop:Generator_ColumnVarNameInTable="columnfldTime" msprop:Generator_ColumnPropNameInRow="fldTime" msprop:Generator_ColumnPropNameInTable="fldTimeColumn" msprop:Generator_UserColumnName="fldTime" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fldThoughts" msprop:Generator_ColumnVarNameInTable="columnfldThoughts" msprop:Generator_ColumnPropNameInRow="fldThoughts" msprop:Generator_ColumnPropNameInTable="fldThoughtsColumn" msprop:Generator_UserColumnName="fldThoughts" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="536870910" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fldEmotions" msprop:Generator_ColumnVarNameInTable="columnfldEmotions" msprop:Generator_ColumnPropNameInRow="fldEmotions" msprop:Generator_ColumnPropNameInTable="fldEmotionsColumn" msprop:Generator_UserColumnName="fldEmotions" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="536870910" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fldPhysicalConsequences" msprop:Generator_ColumnVarNameInTable="columnfldPhysicalConsequences" msprop:Generator_ColumnPropNameInRow="fldPhysicalConsequences" msprop:Generator_ColumnPropNameInTable="fldPhysicalConsequencesColumn" msprop:Generator_UserColumnName="fldPhysicalConsequences" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="536870910" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fldScore" msprop:Generator_ColumnVarNameInTable="columnfldScore" msprop:Generator_ColumnPropNameInRow="fldScore" msprop:Generator_ColumnPropNameInTable="fldScoreColumn" msprop:Generator_UserColumnName="fldScore" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>